package cc.autoapi.pucong.liteflow.design.mobal;


import cc.autoapi.pucong.liteflow.design.mobal.vo.ResultFiledVo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @author pucong
 */
public class ExeSqlResult implements Serializable {

    private static final long serialVersionUID = 1L;

    private BigDecimal resultInteger;

    /**
     * 自增长id
     */
    private Long generatedKey;

    private List<Map<String, Object>> resultList = new ArrayList<>();

    private List<List<Object>> valueList = new ArrayList<>();

    //    查询字段
    private List<ResultFiledVo> filedList = new ArrayList<>();

    /**
     * 执行耗时 秒
     */
    private Double execTime;

    public BigDecimal getResultInteger() {
        return resultInteger;
    }

    public void setResultInteger(BigDecimal resultInteger) {
        this.resultInteger = resultInteger;
    }

    public List<Map<String, Object>> getResultList() {
        return resultList;
    }

    public void setResultList(List<Map<String, Object>> resultList) {
        this.resultList = resultList;
    }

    public List<List<Object>> getValueList() {
        return valueList;
    }

    public void setValueList(List<List<Object>> valueList) {
        this.valueList = valueList;
    }

    public List<ResultFiledVo> getFiledList() {
        return filedList;
    }

    public void setFiledList(List<ResultFiledVo> filedList) {
        this.filedList = filedList;
    }

    public Double getExecTime() {
        return execTime;
    }

    public void setExecTime(Double execTime) {
        this.execTime = execTime;
    }

    public Long getGeneratedKey() {
        return generatedKey;
    }

    public void setGeneratedKey(Long generatedKey) {
        this.generatedKey = generatedKey;
    }
}
